home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8097 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: redstone.interpath.net!mercury!softbase
  2. From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: DLL's - Explanation needed...
  5. Date: 14 Feb 1996 17:15:03 GMT
  6. Organization: Interpath -- Providing Internet access to North Carolina
  7. Message-ID: <4ft5ao$d44@redstone.interpath.net>
  8. References: <4fc52q$per@newsstand.cit.cornell.edu> <kitk.2081.00092003@mudshark.sunquest.com>
  9. NNTP-Posting-Host: mercury.interpath.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. To play devil's advocate:
  13.  
  14. Kit Kauffmann (kitk@mudshark.sunquest.com) wrote:
  15. : DLL's (Dynamic Link Libraries) are (fully) linked at runtime instead of 
  16. : compile time (you provide a stub .LIB, but the actual resolution of function 
  17. : calls occurs at runtime).
  18.  
  19. Actually, you don't even have to link it at link time. You can completely
  20. dynamically load it.
  21.  
  22. : 1. All the currently running programs can (re-) use the code from a 
  23. : single library
  24. : 2.  The library code/data can be changed without relinking the program
  25.  
  26. Just to play devil's advocate:
  27.  
  28.     1. Any program can install an old version over the new one,
  29.         rendering the new library and any programs that
  30.         depend on it useless
  31.         (a corollary is any program can keep an old version
  32.         somewhere else besides the main system directory
  33.         and load that, and since it is in memory any
  34.         program wanting the new library can't run!)
  35.     2. I've never seen two language implementations use the
  36.         same runtime library, not even the same language.
  37.     3. Most code outside of language is copyrighted, so if
  38.         I wanted to use a routine and knew the calling
  39.         sequence, I still probably couldn't.
  40.  
  41. DLL's are a great idea that were executed badly.
  42.  
  43. Scott
  44.  
  45.